#include "stdio.h"
#include "unistd.h"
#include "fcntl.h"
#include "stdlib.h"
int main()
{
int fd;
char c;
fd=open("5311.txt",O_RDONLY,0);
if(fork()==0);{
read(fd,&c,1);
}
wait(NULL);
read(fd,&c,1);
printf("c=%c\n",c);
exit(0);
}
